<?php
namespace app\common\controller;

use think\Controller;

class CommonRoom extends Controller{
    public function _initialize(){
        if($_SESSION['room']['user_id']=='' || !$_SESSION['room']['user_id']){
            $this->redirect('/room/login/login');
        }
    }

}

?>
